package com.lx.idea.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Author ybb
 * @Description
 * @Date 2021/8/30 14:16
 */
@Data
@TableName("node_tb")
public class Node {
    private Long id;
    private String nodeName;
    private String nodeIp;
    private int nodeType;
    private int nodeLevel;
    private String insertDate;
    @TableField("is_delete")
    private int delFlag;
    private String updateDate;
    private String nodePort;


    public static void main(String[] args) {
        String str = "sss.ss.4tr/htjy/fdfffg";
        System.out.println(str.substring(0,str.indexOf("/")));
        System.out.println(str.indexOf("/"));
        }
}
